home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / scpreview.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-12-31  |  960 b   |  37 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SCPREVIEW_H
  8. #define SCPREVIEW_H
  9.  
  10. #include "scribusapi.h"
  11. #include "scribusstructs.h"
  12. //Added by qt3to4:
  13. #include <QPixmap>
  14. #include <QList>
  15.  
  16. class QString;
  17. class ScColor;
  18. class PrefsManager;
  19. class QDomDocument;
  20.  
  21. class SCRIBUS_API ScPreview
  22. {
  23. public:
  24.     ScPreview();
  25.     ~ScPreview() {};
  26.     QPixmap createPreview(QString data);
  27.     void SetQColor(QColor *tmp, const QString& farbe, double shad);
  28.     void DrawZeichenS(ScPainter *p, double xco, double yco, QString ch, QString ZFo, bool Reverse, int Style, int mode, double Siz);
  29.     QMap<QString,ScColor> Farben;
  30.     QMap<QString,multiLine> MLineStyles;
  31.     QList<uint> Segments;
  32. protected:
  33.     PrefsManager* prefsManager;
  34. };
  35. #endif
  36.  
  37.